<?=//$resellerCountry?>
<?
include("multi_language.php");
//function translate($s) { return $s; }
?>
<html>
<head>
<title><?=translate('res_cp');?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../styles.css" type="text/css">
<script>
        function show_help(file){

        var sFeatures = ""+
                " channelmode = no,"+
                " directories = no,"+
                " fullscreen = no,"+
                " height = 430"+
                " left = "+((screen.width/2)-250)+","+
                " location = no,"+
                " menubar = no,"+
                " resizable = no,"+
                " scrollbars = yes,"+
                " status = no,"+
                " titlebar = no,"+
                " toolbar = no,"+
                " top = "+((screen.height/2)-250)+","+
                " width =  570";




        if (file){
                 win_pop =  window.open(file,"", sFeatures,"");

        }

}
</script>

</head>

<body text="#000000" leftmargin="0" topmargin="0" bgcolor="F5F4EF">
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center" class="border">
  <tr> 
    <td bgcolor="#FFFFFF"> 
      <table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="50" class="main">
        <tr> 
          <td height="35" align="right" valign="middle"><img src="../images/mn_07.gif" width="215" height="30"></td>
        </tr>
        <tr> 
          <td height="15" align="left" valign="bottom"> &nbsp;<a href="http://www.resellerspanel.com/reseller_hosting/contactus.html" target="_blank"><?=translate('contact_us');?></a>&nbsp;| <a href="http://www.resellerspanel.com/support/resellers_FAQ.html" target="_blank"><?=translate('faq');?></a>&nbsp;| <a href="http://www.resellerspanel.com/web_hosting_reseller_news/index.html" target="_blank"><?translate('news');?></a> | <a href="http://www.resellerspanel.com/demo_account/webhosting.html" target="_blank"><?=translate('web_hosting_demo');?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            <a target='_blank' href='<? echo "http://www.duoservers.com/?r=$userName"; ?>'  ><?=translate('visit_store');?>&nbsp;</a>| 
            <?
                        $params[sid] = $sid;
                        $params[action] = 'logout';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
            <a href='<?=$url;?>' ><?=translate('logout');?></a></td>
        </tr>
      </table>
      <table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td height="20" align="left" valign="middle"><img src="../images/mn_13_2.gif" width="283" height="10"> 
          </td>
        </tr>
      </table>
      <table width="740" border="0" cellspacing="0" cellpadding="0" align="center" class="main">
        <tr align="left" valign="top"> 
          <td width="20">&nbsp;</td>
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="5" class="border">
              <tr> 
                <td align="center" valign="top" width="170"> 
                  <table border=1 class='bTable' cellspacing='0' width="170">
                    <tr> 
                      <th><?=translate('product_settings');?></th>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'managePlans';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('products_offer_title');?>" ><?=translate('products_offer');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editPlans';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('edit_prices_title');?>"><?=translate('edit_prices');?></a> </td>
                    </tr>
                    <td height="22"> 
                      <?
                        $params[sid] = $sid;
                        $params[action] = 'editServicePrices';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                      <a href='<?=$url;?>' title="<?=translate('edit_upgrade_title');?>" ><?=translate('edit_upgrade');?></a> </td>
                    </tr>
                    <tr> 
                      <th nowrap><?=translate('misc_orders');?></th>
                    </tr>
					 <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'order';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('manual_order_title');?>" ><?=translate('manual_order');?></a> </td>
                    </tr>
			<tr>
                     <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'renew';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('manual_renewal_title');?>" ><?=translate('manual_renewal');?></a> </td>
                    </tr>
					<tr>
                      <td> 
                        <?
                        $params[sid] = $sid;
						$params[action] = 'editRemoteFormsOrder';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('direct_order_title');?>"><?=translate('direct_order');?></a> 
                      </td>
                    </tr>
                     <tr>
                     <td>
                        <?
                        $params[sid] = $sid;
						$params[action] = 'editRemoteFormsDomain';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title=""><?=translate('domain_search');?></a>
                      </td>
                    </tr>
                     <tr>
                     <td>
                        <?
                        $params[sid] = $sid;
						$params[action] = 'editRemoteTemplate';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title=""><?=translate('remote_templates');?></a>
                      </td>
                    </tr>
                     <tr>
                     <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'remote_login';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title=""><?=translate('custom_login');?></a>
                      </td>
                    </tr>
			<tr>
                      <th><?=translate('stats_and_reports');?></th>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'sales';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('sales_reports_title');?>" ><?=translate('sales_reports');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'payments';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('view_payments_title');?>" ><?=translate('view_payments');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'viewClients';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('view_clients_title');?>" ><?=translate('view_clients');?></a> </td>
                    </tr>
		<?if($userName=='mathd'){?>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'viewSales';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('sales_and_renew_title');?>" ><?=translate('sales_and_renew');?></a> </td>
                    </tr>
		<?}?>
<?
if($id==975){
?>
                    <tr>
                      <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = "clients_details";
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('view_clients_title');?>" ><?=translate('view_clients');?></a> </td>
                    </tr>

<?
}
?>
                    <tr>
                      <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'viewAffiliates';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('view_affiliates_title');?>" ><?=translate('view_affiliates');?></a> </td>
                    </tr>
                    <tr>
                      <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'stats';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('traffic_stats_title');?>" ><?=translate('traffic_stats');?></a> </td>
                    </tr>
                    <tr> 
                      <th><?=translate('web_interface_set');?></th>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editStoreName';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('store_name_title');?>" ><?=translate('store_name');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editTemplate';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('template_title');?>" ><?=translate('template');?></a> 
                      </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editMeta';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('edit_metatags_title');?>" ><?=translate('edit_metatags');?></a> 
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editDescription';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('sort_features_title');?>" ><?=translate('sort_features');?></a> </td>
                    </tr>
                    <!--
        <tr>

                <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editStyle';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' >Edit Style</a>
                </td>
        </tr>
-->
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editHeader';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('edit_header_title');?>" ><?=translate('edit_header');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editFooter';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('edit_footer_title');?>" ><?=translate('edit_footer');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editMenu';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('edit_links_title');?>" ><?=translate('edit_links');?></a> </td>
                    </tr>
                    <tr>
                      <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editContacts';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="" ><?=translate('edit_contacts');?></a> </td>
                    </tr>

                    <tr> 
                      <th><?=translate('site_manager');?></th>
                    </tr>
                    <tr> 
                      <td height="2"> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'add_domain';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('domain_manager_title');?>" ><?=translate('domain_manager');?></a> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'emails';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('email_manager_title');?>" ><?=translate('email_manager');?></a> </td>
                    </tr>
                    <tr> 
                      <th><?=translate('reseller_details');?></th>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'changeDetails';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('change_details_title');?>" ><?=translate('change_details');?> </td>
                    </tr>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'changeBankDetails';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="<?=translate('change_payment_title');?>" ><?=translate('change_payment');?></a> </td>
                    </tr>
<?if($resellerCountry=='US'){?>
                    <tr> 
                      <td> 
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'editW9Form';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' title="" ><?=translate('submit_w9');?></a> </td>
                    </tr>
<?}?>

                  
                  </table>
                  <br>
                </td>
                <td align="center" valign="top" width="75%"> 
                  <? include($fileTemplate); ?>
                </td>
              </tr>
            </table>
            <center>
            </center>
          </td>
          <td width="20">&nbsp;</td>
        </tr>
      </table>
      <table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td height="30" align="center" valign="bottom" class="text"><a href="http://www.resellerspanel.com/terms.html" class="links"><?=translate('terms_and_conditions');?></a> | <a href="http://www.resellerspanel.com/privacy.html" class="links"><?=translate('privacy_policy');?></a></td>
        </tr>
        <tr> 
          <td bgcolor="BCBCBC" height="1"></td>
        </tr>
        <tr> 
          <td align="center" valign="middle" class="copy" height="20"><?=translate('rp_copyright');?></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
